<%@ Page SmartNavigation="false" language="c#" Codebehind="PrivateSales.aspx.cs" AutoEventWireup="True" Inherits="WebApplication.PrivateSales" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title id="Title" method="post" runat="server">1856 Private Sales</title>
		<meta content="Microsoft Visual Studio 7.0" name="GENERATOR">
		<meta content="C#" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
	</HEAD>
	<body MS_POSITIONING="GridLayout" bgColor="#ccffff">
		<form id="PrivateSales" method="post" runat="server">
			<asp:label id="Label1" style="Z-INDEX: 101; LEFT: 26px; POSITION: absolute; TOP: 11px" runat="server" Width="226px" Height="20px" ForeColor="Blue" Font-Size="Medium" Font-Italic="True">Initial Round, Sale of Privates</asp:label><asp:table id="PlayersTable" style="Z-INDEX: 102; LEFT: 28px; POSITION: absolute; TOP: 332px" runat="server" Width="813px" Height="54px" GridLines="Both" BorderStyle="Solid" BorderWidth="1px" BorderColor="Blue" BackColor="#C0FFFF">
				<asp:TableRow ID="Header">
					<asp:TableCell ForeColor="Blue" Font-Bold="True" Text="Player" ID="Player"></asp:TableCell>
					<asp:TableCell ForeColor="Blue" Text="Cash" ID="Cash"></asp:TableCell>
					<asp:TableCell ForeColor="Blue" Text="Available Cash" ID="availableCash"></asp:TableCell>
					<asp:TableCell ForeColor="Blue" Text="Privates Owned" ID="PrivatesOwned"></asp:TableCell>
					<asp:TableCell ForeColor="Blue" Text="Privates Bid On" ID="PrivatesBidOn"></asp:TableCell>
				</asp:TableRow>
			</asp:table><asp:table id="PrivatesTable" style="Z-INDEX: 103; LEFT: 23px; POSITION: absolute; TOP: 34px" runat="server" Width="813" Height="129px" BorderColor="Green" BorderWidth="2px" GridLines="Both" BackColor="#C0FFC0">
				<asp:TableRow ForeColor="Green" Font-Bold="True">
					<asp:TableCell Text="Company Name"></asp:TableCell>
					<asp:TableCell Text="Cost"></asp:TableCell>
					<asp:TableCell Text="Revenue"></asp:TableCell>
					<asp:TableCell Text="High bid"></asp:TableCell>
				</asp:TableRow>
			</asp:table><asp:button id="pbBuy" 
				style="Z-INDEX: 104; LEFT: 22px; POSITION: absolute; TOP: 244px;width: 374px;" 
				runat="server" Height="30" Text="Buy" onclick="pbBuy_Click"></asp:button>
			<asp:button id="pbPass" 
				style="Z-INDEX: 105; LEFT: 408px; POSITION: absolute; TOP: 244px;right: 472px;" 
				runat="server" Width="40px" Height="30px" Text="Pass" onclick="pbPass_Click"></asp:button><asp:button id="pbBid" style="Z-INDEX: 106; LEFT: 28px; POSITION: absolute; TOP: 284px" runat="server" Width="44px" Height="30px" Text="Bid" onclick="pbBid_Click"></asp:button><asp:textbox id="editAmountBid" style="Z-INDEX: 107; LEFT: 87px; POSITION: absolute; TOP: 284px" runat="server" Width="55px" Height="30px"></asp:textbox>
			<asp:label id="Label2" 
				style="Z-INDEX: 108; LEFT: 147px; POSITION: absolute; TOP: 289px;width: 101px;" 
				runat="server" Height="27px">on company: </asp:label>
			<asp:textbox id="editCompanyBidOn" 
				style="Z-INDEX: 109; LEFT: 251px; POSITION: absolute; TOP: 284px;width: 40px;" 
				runat="server" Height="32px"></asp:textbox>
			<asp:label id="currentPlayersTurn" 
				style="Z-INDEX: 110; LEFT: 422px; POSITION: absolute; TOP: 9px;width: 325px;" 
				runat="server" Height="20" ForeColor="Red" Font-Size="Medium" Font-Bold="True">Current Player's Turn</asp:label>
			<asp:label id="Label3" 
				style="Z-INDEX: 111; LEFT: 273px; POSITION: absolute; TOP: 10px;width: 143px;" 
				runat="server" Height="20">Player's turn:</asp:label><asp:label id="Label4" style="Z-INDEX: 112; LEFT: 76px; POSITION: absolute; TOP: 289px" runat="server" Width="9px" Height="29px">$</asp:label>
			<asp:CheckBox id="PriorityCheckBox" style="Z-INDEX: 113; LEFT: 766px; POSITION: absolute; TOP: 10px" runat="server" Text="Priority" TextAlign="Left"></asp:CheckBox>
			<asp:Label id="bidError" 
				style="Z-INDEX: 114; LEFT: 298px; POSITION: absolute; TOP: 280px;width: 235px;" 
				runat="server" ForeColor="Red" Height="43px" Font-Bold="True" Visible="False"></asp:Label>
			<asp:Label id="Passes" 
				style="Z-INDEX: 115; LEFT: 455px; POSITION: absolute; TOP: 248px;width: 78px;" 
				runat="server" Height="12px"># of Passes</asp:Label>
			<asp:ListBox id="historyLB" 
				style="Z-INDEX: 116; LEFT: 540px; POSITION: absolute; TOP: 241px;width: 301px;" 
				runat="server" Height="82px"></asp:ListBox>
		</form>
		<script language="javascript">
			function GetPriority ()
			{
				return document.PrivateSales.PriorityCheckBox.checked;
			}
		</script>
		<script language="javascript">
			var bPriority = GetPriority ()

			if (!bPriority)
				document.write ("<meta id=\"refresh\" http-equiv=\"refresh\" content=\"2\">");
		</script>
	</body>
</HTML>
